How to remove duplicates from an array in javascript

visit shbcf.ru